package com.train.entity;

import com.train.enums.Gender;

public class Passenger extends ParentBase<Luggage>{
	
	private Gender sex;
	private int age;

	
	public Passenger(int id, Gender sex, int age) {
		this.id = id;
		this.sex = sex;
		this.age = age;
	}
	
	public Gender getSex() {
		return sex;
	}
	public void setSex(Gender sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	
}
